﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using OutputTree;

namespace OutputTree
{
    public partial class MainPage : UserControl
    {
        public MainPage()
        {
            InitializeComponent();
        }

        private void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
            Output.WriteLine("Building project SolutionFramework");
        }

        private void cmdAddIndent_Click(object sender, RoutedEventArgs e)
        {
            Output.Indent();
            Output.WriteLine(Colors.Red, "Object not set to an instance of an object.  LoadApplication.cs, line 45");
        }

        private void cmdAddUnindent_Click(object sender, RoutedEventArgs e)
        {
            Output.Unindent();
            Output.WriteLine("Building project SolutionFramework.Web");
        }
    }
}
